3.2.77 \(\int \frac {1}{\sqrt {a x^2+b x^3}} \, dx\)

Optimal. Leaf size=30 \[ -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )}{\sqrt {a}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2008, 206} \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )}{\sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[a*x^2 + b*x^3],x]

[Out]

(-2*ArcTanh[(Sqrt[a]*x)/Sqrt[a*x^2 + b*x^3]])/Sqrt[a]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 2008

Int[1/Sqrt[(a_.)*(x_)^2 + (b_.)*(x_)^(n_.)], x_Symbol] :> Dist[2/(2 - n), Subst[Int[1/(1 - a*x^2), x], x, x/Sq
rt[a*x^2 + b*x^n]], x] /; FreeQ[{a, b, n}, x] && NeQ[n, 2]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {a x^2+b x^3}} \, dx &=-\left (2 \operatorname {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {x}{\sqrt {a x^2+b x^3}}\right )\right )\\ &=-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )}{\sqrt {a}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 46, normalized size = 1.53 \begin {gather*} -\frac {2 x \sqrt {a+b x} \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {x^2 (a+b x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[a*x^2 + b*x^3],x]

[Out]

(-2*x*Sqrt[a + b*x]*ArcTanh[Sqrt[a + b*x]/Sqrt[a]])/(Sqrt[a]*Sqrt[x^2*(a + b*x)])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.04, size = 30, normalized size = 1.00 \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )}{\sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/Sqrt[a*x^2 + b*x^3],x]

[Out]

(-2*ArcTanh[(Sqrt[a]*x)/Sqrt[a*x^2 + b*x^3]])/Sqrt[a]

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 74, normalized size = 2.47 \begin {gather*} \left [\frac {\log \left (\frac {b x^{2} + 2 \, a x - 2 \, \sqrt {b x^{3} + a x^{2}} \sqrt {a}}{x^{2}}\right )}{\sqrt {a}}, \frac {2 \, \sqrt {-a} \arctan \left (\frac {\sqrt {b x^{3} + a x^{2}} \sqrt {-a}}{a x}\right )}{a}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x^3+a*x^2)^(1/2),x, algorithm="fricas")

[Out]

[log((b*x^2 + 2*a*x - 2*sqrt(b*x^3 + a*x^2)*sqrt(a))/x^2)/sqrt(a), 2*sqrt(-a)*arctan(sqrt(b*x^3 + a*x^2)*sqrt(
-a)/(a*x))/a]

________________________________________________________________________________________

giac [A]  time = 0.16, size = 45, normalized size = 1.50 \begin {gather*} -\frac {2 \, \arctan \left (\frac {\sqrt {a}}{\sqrt {-a}}\right ) \mathrm {sgn}\relax (x)}{\sqrt {-a}} + \frac {2 \, \arctan \left (\frac {\sqrt {b x + a}}{\sqrt {-a}}\right )}{\sqrt {-a} \mathrm {sgn}\relax (x)} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x^3+a*x^2)^(1/2),x, algorithm="giac")

[Out]

-2*arctan(sqrt(a)/sqrt(-a))*sgn(x)/sqrt(-a) + 2*arctan(sqrt(b*x + a)/sqrt(-a))/(sqrt(-a)*sgn(x))

________________________________________________________________________________________

maple [A]  time = 0.04, size = 39, normalized size = 1.30 \begin {gather*} -\frac {2 \sqrt {b x +a}\, x \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{\sqrt {b \,x^{3}+a \,x^{2}}\, \sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*x^3+a*x^2)^(1/2),x)

[Out]

-2/(b*x^3+a*x^2)^(1/2)*x*(b*x+a)^(1/2)/a^(1/2)*arctanh((b*x+a)^(1/2)/a^(1/2))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {b x^{3} + a x^{2}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x^3+a*x^2)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/sqrt(b*x^3 + a*x^2), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {1}{\sqrt {b\,x^3+a\,x^2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a*x^2 + b*x^3)^(1/2),x)

[Out]

int(1/(a*x^2 + b*x^3)^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a x^{2} + b x^{3}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x**3+a*x**2)**(1/2),x)

[Out]

Integral(1/sqrt(a*x**2 + b*x**3), x)

________________________________________________________________________________________